package it.uniroma2.art.coda.interfaces;

/**
 * A converter initializes an ontology resource from a feature path value.
 * 
 * @author <a href="fiorelli@info.uniroma2.it">Manuel Fiorelli</a>
 */
public interface Converter {

	/**
	 * Applies the converter. Converters can be composed, but it is left to the
	 * developers to assess that the aggregate makes sense.
	 * 
	 * @param defaultNs
	 *            the ontology default namespace
	 * @param value
	 *            the argument
	 * @return a converted string
	 */
	String apply(String defaultNs, String value);

}
